If random variables represent a process that proceed randomly in time, then it's Stochastic Process.
A simple random wawlk can be thought as a model for repeated gambling
Theorem: Let Xn be a simple random walk and let n be a positive integer. If k is an integer such that −n≤k≤n and n+k is even, then: P(Xn=a+k)=(2n+kn)p2n+k(1−p)2n−k with the expection E[Xn]=a+n(2p−1).
Proof: Let a simple walk with a,ρ respectively represent start and probablity for winning.
Let Wn be the winning and Ln be the losing after n times, then n=Wn+Ln
Let Xn be current, then Xn=a+Wn−Ln⟹Xn+n=a+2Wn so that Wn=2Xn+n−a
Then Wn is binomal distribution with n trials and p=ρ
Gambler's Ruin: Let Xn be a simple random walk with some initial a and some probability ρ for winning. Let c>a be some other integer. The gambler ruin question is: if you repeatedly bet $1, then what is the probability that you will reach a fortune of $c before you lose all your money by reaching a fortune of $0.
A stochastic process {N(t):t≥0} is said to be a counting process if N(t) presents the total number of events that have occurred up to time t. Here a counting process must satisfy the following conditions:
N(t)≥0
N(t) integer-valued
s<t⟹N(s)≤N(t)
∀s<t,N(t)−N(s) equals the number of events that have occurred in the interval (s,t]
A counting process {N(t):t≥0} have an independent increments if the number of events that occur in disjoint time intervals are independent of each other.
A counting process {N(t):t≥0} have stationary increments if the distribution of the number of events only dpend on the length of the interval.
A counting process {N(t):t≥0} is a Poisson process with rate λ if:
N(0)=0
The process has independent increments and stationary increments
The number of events in any interval of length t is Posson distributed N(t)∼Poi(λt) with E(N(t))=λt and Var(N(t))=λt
Or we can also use:
N(0)=0
The process has independent and stationary increments
P(N(h)=1)=λh+o(h)
h→0⟹hP(N(h)=1)−λh=0
o(h) means h→0⟹ho(h)=0
P(N(h)≥2)=o(h)
Let the inter-arrival time of a Poisson process be Ri= the waitting time for the ith event after the (i−1)th event. Then Ri∼Exp(λ) with E(Ri)=λ1 and Var(Ri)=λ21.
Conditional Poisson Process follows: N(s)∣N(t)∼Bin(n,s/t)
Let {Xn} be a simple random walk with X0=0 and let Xi=∑j=1iZi where Zi i.i.d follows some distributions (i.e. the simple random walk, P(Zi=win) and P(Zi=loss)). We define a new process {Yt(M)=M1(∑i=1tMZi)} where M is a positive integer. Then {Bt}t≥0 is a Brownian motion if it's the limit as M→∞ of {Yt(M)}. That is, Brownian motion has the following properties:
E[Yt(M)]=0
Var(Yt(M))=(M1)2tM=t
M→∞⟹Yt(M)∼N(0,t) by CLT, that is, Bt∼N(0,t)
For some Brownian motion Bt and Bs where 0<t<s, we have Bs−Bt∼N(0,s−t).
the covariance Cov(Bs,Bt)=min(s,t)
Then we can make a formal definition of Brownian motion: Brownian Motion is a continuous time process {Bt}t≥0 with the following properties:
B0=0
Normal distributed: Bt∼N(0,t)
Independent normal increments: Bs−Bt∼N(0,s−t)
Covariance structure: Cov(Bs,Bt)=min(s,t)
Continuous sample paths (the function t→Bt is continuous, but not differentible)
ideally, only when limh→0hBt+h−Bt=0 differentible, but then Bt+h−Bt∼N(0,h), so that h1Bt+h−Bt∼N(0,h1)→∞ as h→0, so that Bt is not differentible
Let Bt be Brownian motion and let Xt=a+δt+σBt be a diffusion, then:
E[Xt]=a+δt
Var(Xt)=σ2t
Xt∼N(a+δt,σ2t)
we call a the drift, δ the drift rate, and σ the volatility parameter